import { type RouteRecordRaw } from 'vue-router'
const demoRoutes: RouteRecordRaw[] = [
    {
        path: '/demo',
        name: 'Demo',
        meta: {
            title: 'Demo',
            icon: 'location'
        },
        redirect: '/demo/from',
        children: [{
            path: '/demo/from',
            name: 'From',
            meta: {
                title: '表单',
                icon: 'location'
            },
            component: () => import('@/views/demo/form/index.vue')
        }, {
            path: '/demo/table',
            name: 'Table',
            meta: {
                title: '表格',
                icon: 'location'
            },
            component: () => import('@/views/demo/table/index.vue')
        },{
            path:'/demo/virtualList',
            name:'VirtualList',
            meta:{
                title:'虚拟列表',
                icon:'location'
            },
            component:()=>import('@/views/demo/virtualList/index.vue')
        }]
    }
]
export default demoRoutes